package com.xysoft.framework.event;

public class PostUpdateEvent extends EntityEvent {
	
	private static final long serialVersionUID = -3387421746664089631L;
	private Object oldEntity;

	public PostUpdateEvent(Object source, String entityName, Object oldEntity, Object newEntity) {
		super(source, entityName, newEntity);
		this.oldEntity = oldEntity;
	}

	public Object getOldEntity() {
		return oldEntity;
	}
}
